
export default {
    getList (state ,data ) { 
        var datas = [
            {
                title:'正在热映',
                list:data.nowData
            },
            {
                title:'新片速递',
                list:data.commingData
            }
        ]
        console.log(datas)
        state.lists = datas ;
        return {
            ...state
        } ;
    },
    GetDetail(state, data){ 
        let { subjects } = data.detailData ;
        state.detailData = Array.concat(state.detailData,subjects ) ;
        return {
            ...state
        } ;
    }
}